
@extends('layouts.base')


@section('content')
<div class="wrapper wrapper-content animated fadeInUp">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>轮播图展示</h5>

                </div>
                <div class="ibox-content">
                    <div class="project-list">
                        <table class="table table-hover">
                            <tbody>
                            <tr>
                                <td class="project-completion center"><small>名称</small></td>
                                <td class="project-completion center"><small>值</small></td>
                                <td class="project-completion center"><small>图片</small></td>
                                <td class="project-actions" style="text-align: center">操作</td>
                            </tr>
                            @foreach($data as $value)
                                <tr>
                                    <td class="project-completion center"><small>{{$value['background_cname']}}</small></td>
                                    <td class="project-completion center"><small>{{$value['background_ename']}}</small></td>
                                    <td class="project-completion center">
                                        <img src='{{$value['background_img']}}' style="width: 120px;">
                                    </td>
                                    <td class="project-actions" style="text-align: center">
                                        <a href="/admin/background/{{$value['id']}}/edit/"  class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 修改 </a>
                                    </td>
                                </tr>
                            @endforeach
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

@endsection

@section('script')
<script src="/Style/admin/js/jquery.min.js?v=2.1.4"></script>
<script src="/Style/admin/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/Style/admin/js/content.min.js?v=1.0.0"></script>
@endsection
